#pragma once
#include "H264VideoFileServerMediaSubsession.hh"


class H264VideoLiveServerMediaSubsession : public H264VideoFileServerMediaSubsession {

public:
	static H264VideoLiveServerMediaSubsession*
		createNew(UsageEnvironment& env,
		char const* fileName,
		Boolean reuseFirstSource);

protected: // we're a virtual base class
	H264VideoLiveServerMediaSubsession(UsageEnvironment& env, char const* fileName, Boolean reuseFirstSource);
	~H264VideoLiveServerMediaSubsession();

protected: // redefined virtual functions
	FramedSource* createNewStreamSource(unsigned clientSessionId,
		unsigned& estBitrate);
public:
	char fFileName[100];

};